package com.mission.shaco.warehouse

import android.graphics.Bitmap
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_fullscreen_image.*
import android.graphics.BitmapFactory
import android.R.attr.bitmap
import android.graphics.Matrix
import android.net.Uri
import android.opengl.ETC1.getHeight
import android.opengl.ETC1.getWidth
import com.androidquery.AQuery


class ImageViewActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_image_view)

        val extras = getIntent().extras
        val imgUrl = extras.getString("imgUrl")

        val aq = AQuery(this)
        aq.id(imageView.id).image(imgUrl, false, true, 0, AQuery.CACHE_DEFAULT)
    }

}
